﻿<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="sumofnumbers._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <p>
    Enter first number:
    <asp:TextBox ID="first_number" runat="server"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator1" runat="server" 
            ControlToValidate="first_number" ErrorMessage="be sure that this is a number" 
            MaximumValue="1000000" MinimumValue="0" Type="Double"></asp:RangeValidator>
</p>
<p>
    Enter second number:
    <asp:TextBox ID="second_number" runat="server"></asp:TextBox>
    <asp:RangeValidator ID="RangeValidator2" runat="server" 
        ControlToValidate="second_number" ErrorMessage="be sure that this is a number" 
        MaximumValue="1000000" MinimumValue="0" Type="Double"></asp:RangeValidator>
</p>
<p>
    &nbsp;<asp:Button ID="Button1" runat="server" Text="sum" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label1" runat="server" Text="Total Sum"></asp:Label>
</p>
<p>
</p>
</asp:Content>
